// 提示框
export const setTip = ({commit}, tip) => {
  if (!tip.time) tip.time = 1800
  commit('SET_TIP', tip)
}
// loading
export const setLoading = ({commit}, loading) => {
  commit('SET_LOADING', loading)
}
// 是否进入股票详情页时重新加载数据
export const setRePage = ({commit}, rePage) => {
  commit('SET_REPAGE', rePage)
}
// 股票详情页滚动位置
export const setScrHeight = ({commit}, y) => {
  commit('SET_SCRHEIGHT', y)
}
// 是否登录
export const setGetmobile = ({commit}, getmobile) => {
  commit('SET_GETMOBILE', getmobile)
}
